package com.whmskj.xjlhsc.mobie.empProPlan.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 人员看台（1）机台（多）表
 *
 * @author lk
 * @since 2025-07-07 11:22:42
 */
@Data
@TableName("pro_personnel_stand_machine")
public class ProPersonnelStandMachine implements Serializable{

    private static final long serialVersionUID=1L;

    /**
     *  主键ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     *  机台ID
     */
    @TableField("device_id")
    private Integer deviceId;

    /**
     *  工序id
     */
    @TableField("process_id")
    private Integer processId;

    /**
     *  人员看台表ID
     */
    @TableField("personnel_stand_id")
    private Long personnelStandId;

    /**
     *  乐观锁
     */
    private Integer version;

    /**
     *  AB面
     */
    @TableField("ab_tag")
    private String abTag;

    /**
     *  是否存在分产量
     */
    @TableField("has_divide_output")
    private String hasDivideOutput;

    /**
     *  楼层id
     */
    private String workshop;

    /**
     *  备注
     */
    private String remark;

    /**
     *  创建人id
     */
    @TableField(value = "create_user_id")
    private Long createUserId;

    /**
     *  创建时间
     */
    @TableField(fill = FieldFill.INSERT,value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private String deviceCode;

}